package com.situ.mall.service;

import com.situ.common.util.PageResult;
import com.situ.mall.pojo.entity.Order;
import com.situ.mall.pojo.entity.OrderItem;
import com.situ.mall.pojo.query.OrderQuery;
import com.situ.mall.pojo.vo.OrderCountVO;
import com.situ.mall.pojo.vo.SalesVolumeVO;

import java.util.List;

public interface IOrderService {
    PageResult selectByPage(OrderQuery orderQuery);

    void updateStatus(Order order);

    void updateIsDeleted(Order order);

    List<OrderItem> orderItemByOrderNo(Long orderNo);

    Order orderByOrderNo(Long orderNo);

    void deleteById(Long orderNo);

    List<SalesVolumeVO> TotalSalesByDay();

    Integer totalCost();

    List<OrderCountVO> selectTotalOrder();
}
